﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UFIDA.U9.Cust.XH.PlugBE.Model
{
    public class ProjectModel
    {
        public ProjectModel(UFIDA.U9.CBO.SCM.ProjectTask.Project model)
        {
            this.xmbm = model.Code;
            this.xmmc = model.Name;

            this.sfys = model.IsAccepted ? 0 : 1;
            this.sfsx = model.Effective.IsEffective ? 0 : 1;
            this.kh = "";//model.Customer.ID.ToString();//后期需要获取OA客户id
            this.sxrq = model.Effective.EffectiveDate.ToString("yyyy-MM-dd HH:mm:ss");
            this.sxrq1 = model.Effective.DisableDate.ToString("yyyy-MM-dd HH:mm:ss");

        }
        public string xmbm { get; set; }
        public string xmmc { get; set; }
        public string kh { get; set; }
        public int sfys { get; set; }
        public int sfsx { get; set; }
        public string sxrq { get; set; }
        public string sxrq1 { get; set; }



    }
}
